<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>demo3</title>
    <script src="../build/react.js"></script>
    <script src="../build/react-dom.js"></script>
    <script src="https://unpkg.com/babel-core@5.8.38/browser.min.js"></script>
</head>
<body>
<div id="example"></div>
<script type='text/babel'>
var arr = [
<h1>hello world!</h1>,
<h2>React!</h2>
];
    ReactDOM.render(
        <div>{arr}</div>,
        document.getElementById('example')
    )
</script>
</body>
</html>
